package com.xqpaymall.controller;

import com.xqpaymall.common.domain.vo.RequestVo;
import com.xqpaymall.common.domain.vo.ResponseVo;
import com.xqpaymall.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ Author     ：marui
 * @ Date       ：Created in 13:50 2019/10/16
 */
@Controller
public class UserInfoController {

    @Autowired
    private UserInfoService userInfoService;

    @RequestMapping(value = "/feignLogin",method = RequestMethod.POST)
    ResponseVo login(RequestVo loginVo){
       return userInfoService.login(loginVo);
    }

}
